<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <h1>写一段最短的代码，用上js所有关键字并且不报错</h1>
    <p>然而这个并没有什么卵用</p>
<pre>
<code>
debugger;
void function() {
    do break;
    while (typeof delete this);
    for (var a; ; )
    if (true)
        with (null)
        try {
        } catch (a) {
        } finally {
        }
    else throw new 1();

    switch (1 in 1 instanceof 1) {
    case false:
    default:
    }
    return;
};

// or
new (function() {
    do break;
    while (typeof delete this);
    for (var a; void 0; ) continue;
    if (null)
    with (0)
        try {
        switch (1 in 1 instanceof 1) {
            case false:
            default:
            throw true;
        }
        } catch (a) {
        } finally {
        }
    else return; // console.log("测试")
})();
</code>
</pre>
    <script src="index.js"></script>
</body>
</html>